/**
 * 
 */
package kr.co.insoft.core.model.orchestration;

import java.io.Serializable;
import java.util.Iterator;

import kr.co.insoft.auth.model.security.User;

/**
 * @author IN-SOFT Inc. GoodwillDD(sylee@in-soft.co.kr)
 * 
 */
public class OrchestrationTreeParamModel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4912840759847644571L;
	Long userid;
	String companyid;
	Iterator<String> targetCodes;

	/**
	 * @return the targetCodes
	 */
	public Iterator<String> getTargetCodes() {
		return targetCodes;
	}

	/**
	 * @param targetCodes
	 *            the targetCodes to set
	 */
	public void setTargetCodes(Iterator<String> targetCodes) {
		this.targetCodes = targetCodes;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getCompanyid() {
		return companyid;
	}

	public void setCompanyid(String companyid) {
		this.companyid = companyid;
	}

	public void setAuth(User user) {
		this.userid = user.getId();
		this.companyid = user.getCompanyId();
	}
}
